home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-01-05 | 265 b | 16 lines | [TEXT/????] |
- # ospath.py is to {posix,mac}path.py what os.py is to modules {posix,mac}
-
- try:
- import posix
- name = 'posix'
- del posix
- except ImportError:
- import mac
- name = 'mac'
- del mac
-
- if name == 'posix':
- from posixpath import *
- elif name == 'mac':
- from macpath import *
-